<?php
    function search()
    {
        include("mysql_config.php");
        $db = new PDO("mysql:host={$dbhost};dbname={$dbname}","{$dbuid}","{$dbpwd}");
        $db->query("set names utf8;");
        $result = $db->query('select _title from _article');
        while ($row = $result->fetch())
        {
            echo "<tr><td><a href='Default.aspx target='_blank'>{$row[0]}</a></th><td>2011-10-17</th></tr>\r\n";
        }
    }
    function page()
    {
        
        
    }
?>
